<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {font-size: 12px}
.STYLE3 {font-size: 12px; font-weight: bold; }
.STYLE4 {
	color: #03515d;
	font-size: 12px;
}
-->
</style>

<script>
	function edit()
	{
		var id=document.getElementById("publicinformationid").value;
		this.location="${pageContext.request.contextPath }/info/toEditPublicinformation.action?publicinformation.id="+id;
	}
</script>
</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td height="30" background="<%=request.getContextPath() %>/images/tab_05.gif">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
        <td width="12" height="30"><img src="images/tab_03.gif" width="12" height="30" /></td>
        <td>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="46%" valign="middle">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="5%"><div align="center"><img src="<%=request.getContextPath() %>/images/tb.gif" width="16" height="16" /></div></td>
                <td width="95%" class="STYLE1"><span class="STYLE3">你当前的位置</span>：[首页]-></td>
              </tr>
            </table>
			</td>
          </tr>
        </table>
		</td>
		<td width="54%">
		<table border="0" align="right" cellpadding="0" cellspacing="0">
		<tr>
			<td>
			</td>
		</tr>
		</table>
		</td>
	</tr>
   </table>
	</td>
  </tr>
</table>
<table border="1">
	<tr>
		<td>工作动态标题</td>
		<td>
			${publicinformation.title }
		</td>
	</tr>
	<tr>
		<td>内容</td>
		<td>
			${publicinformation.content }
		</td>
	</tr>
	<tr>
		<td>发表人</td>
		<td>
			${publicinformation.senderName }
		</td>
	</tr>
	<tr>
		<td>发表时间</td>
		<td>
			${publicinformation.sendTime }
		</td>
	</tr>
	<s:if test="editPower!=null">
	<tr>
		<td></td>
		<td>
			<input type="hidden" name="publicinformation.id" id="publicinformationid" value="${publicinformation.id }" />
			<input type="hidden" name="publicinformation.flag" value="${publicinformation.flag }" />
			<input type="button" value="编辑" onclick="edit()" />
		</td>
	</tr>
	</s:if>
</table>
</body>
</html>